package com.hs.telepass;

import android.app.Application;
import android.content.Context;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.util.DisplayMetrics;

import com.baidu.android.pushservice.PushConstants;
import com.baidu.android.pushservice.PushManager;
import com.hs.telepass.crash.CrashHandler;
import com.hs.telepass.manager.PreferencesManager;
import com.hs.telepass.utils.LanguageUtil;

import java.util.Locale;

public class MainApp extends Application {

    private static Context mContext;

    public static Context getInstance() {
        return mContext;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        mContext = this;
        CrashHandler.start();

        LanguageUtil.setLanguage(mContext);
    }



}
